$time: 0.5s;
@keyframes close {
  from { width: $sideNavWidth; }
  to { width: 40px; }
}
@keyframes open {
  from { width: 40px; }
  to { width: $sideNavWidth; }
}

.close{
  animation: close $time;
}

.open{
  animation: open $time;
}

.left{
  width: $sideNavWidth;
  background-color: #3F51B5;
  color: #fff;
  justify-content: space-between;
  overflow: hidden;
}

.navMenu{
  height: 46px;
  width: 170px;
  display: flex;
  align-items: center;
  border-left: 5px solid #3F51B5;
  font-size: 14px;
}

.navMenu:hover{
  background-color: #5666be;
}

.version{
  font-size: 12px;
  background-color: #3441a1;
  height: 26px;
  width: $sideNavWidth
}


.sideNav{
  display: flex;
}

.tool{
  -webkit-user-drag: none;
}

.rotateLeft{
  transition: all $time;
}
.rotateRight{
  transform: rotateY(-180deg);
  transition: all $time;
}

.icon{
  width: 35px;
}

@keyframes none{
  from{ opacity: 1;}
  to{opacity: 0;}
}
@keyframes show{ 
  from{opacity: 0;}
  to{ opacity: 1;}
}

.show{
  opacity: 0;
  animation: none $time;
}

.none{
  opacity: 1;
  animation: show $time;
}